<@compress single_line=isCompress>
<!DOCTYPE html>
<html>
<head>
<title>短信日志管理</title>
<#include "/pager/common/quote.html" />
</head>
<body onload="myfun()">
    <div class="body-center">
        <div class="html-panel query-panel" id="query_con">
            <div class="panel-header"><div class="panel-title">查询条件</div></div>
            <div class="panel-content" id="menuMgrPanel">
                <form onsubmit="return false;" id="queryForm" class="form_style">
                	<#if (orderNo)??>
                		<span class="spacing"><label>订单号：</label><input type="text" name="orderNo" id="orderNo" value="${orderNo!''}"/></span>
                    	<span class="spacing"><label>消费日期：</label>
							<input class="easyui-datebox easyui-validatebox" name="startDate" value="" style="width: 120px"/>
						</span> 
						<span class="spacing">--
							<input class="easyui-datebox easyui-validatebox" name="endDate" value="" style="width: 120px"/>
						</span>  
                    <#else>
                        <span class="spacing"><label>订单号：</label><input type="text" name="orderNo" id="orderNo"/></span>
                    	<span class="spacing"><label>消费日期：</label>
							<input class="easyui-datebox easyui-validatebox" name="startDate" value="${startDate!''}" style="width: 120px"/>
						</span> 
						<span class="spacing">--
							<input class="easyui-datebox easyui-validatebox" name="endDate" value="${endDate!''}" style="width: 120px"/>
						</span>
                    </#if>
               		<span class="spacing"><label>交易短信：</label>
               			<select name="dsStatus" style="width: 120px">
                        	<option value="">==交易短信==</option>
							<option value="0">未开启</option>
							<option value="1">部分完成</option>
                    		<option value="2">全部完成</option>
                    		<option value="3">全部失败</option>
						</select>
					</span>
					<span class="spacing"><label>转账短信：</label>
                        <select name="tsStatus" style="width: 120px">
                        	<option value="">==转账短信==</option>
                        	<option value="0">未开启</option>
							<option value="1">部分完成</option>
                    		<option value="2">全部完成</option>
                    		<option value="3">全部失败</option>
						</select>
					</span>
					<span class="spacing"><label>交易推送状态：</label>
                        <select name="dStatus" style="width: 140px">
                        	<option value="">=交易推送状态=</option>
                        	<option value="0">未推送</option>
							<option value="1">成功</option>
                    		<option value="2">失败</option>
                        </select>
                    </span>
                       <span class="spacing"><label>转账推送状态：</label>
                        <select name="tStatus" style="width: 140px">
                        	<option value="">=转账推送状态=</option>
                        	<option value="0">未推送</option>
							<option value="1">成功</option>
                    		<option value="2">失败</option>
                        </select>
               		</span>
                    <span class="spacing"><input type="submit" id="queryButton" value="查询"/></span>
                </form>
            </div>
        </div>
        <table id="grid" title="短信日志列表" style="height: 100%">
            <thead>
                <th data-options="field:'order_no',width:100,resizable:true,align:'left'">订单号</th>
                <th data-options="field:'pay_time',width:100,resizable:true,align:'left'">消费时间</th>
                <th data-options="field:'dealpush_status',width:80,resizable:true,align:'left',formatter:formatter.dealpush_status">交易推送</th>
                <th data-options="field:'dealpush_send_time',width:80,resizable:true,align:'left'">交易推送发送时间</th>
                <th data-options="field:'dealpush_reve_time',width:80,resizable:true,align:'left'">交易推送接收时间</th>
                <th data-options="field:'deal_sms_status',width:80,resizable:true,align:'left',formatter:formatter.deal_sms_status">交易短信</th>
                <th data-options="field:'transferpush_status',width:80,resizable:true,align:'left',formatter:formatter.transferpush_status">转账推送</th>
                <th data-options="field:'transferpush_send_time',width:80,resizable:true,align:'left'">转账推送发送时间</th>
                <th data-options="field:'transferpush_reve_time',width:80,resizable:true,align:'left'">转账推送接收时间</th>
                <th data-options="field:'transfer_sms_status',width:80,resizable:true,align:'left',formatter:formatter.transfer_sms_status">转账短信</th>
            </thead>
        </table>
    </div>
    <div class="hide-panel">
		<div id="phoneDetailDialog" style="width: 580px; height: 300px;"
			data-options="resizable:false,modal:true,closed: true">
			<div class="body-center">
				<table id="phoneGrid" data-options="url:'pushsms/sms_data.html',method:'post'" title="短信发送情况">
					<thead>
						<th
							data-options="field:'phone',width:120,resizable:true,align:'left'">手机号码</th>
						<th
							data-options="field:'send_time',width:140,resizable:true,align:'left'">发送时间</th>
						<th
							data-options="field:'success_time',width:140,resizable:true,align:'left'">成功时间</th>
						<th
							data-options="field:'status',width:120,resizable:true,align:'center',formatter:phoneformatter.status">状态</th>
					</thead>
				</table>
			</div>
		</div>
	</div>
</body>
</html>
</@compress>
